<!DOCTYPE html>
<?php
    $imageWidth = 100;
    $imageHeight = 100;
    $numberOfImages=100;
    
    $imageWidth     = isset($_GET['w']) ? $_GET['w'] : $imageWidth;
    $imageHeight    = isset($_GET['h']) ? $_GET['h'] : $imageHeight;
    $numberOfImages = isset($_GET['n']) ? $_GET['n'] : $numberOfImages;
    
?>
<html>
<head>
    <title>Random images</title>
    <link type="text/css" href="css/reset.css" media="screen" rel="stylesheet"/>
    <style>
        .imageContainer {
            float: left;
            height: <?php echo $imageHeight ?>px
        }
    </style>
</head>
<body>
    <?php 
        for ($i=0; $i < $numberOfImages; $i++) {
            echo 
                '<div class="imageContainer">' . 
                    '<img alt="" src="random-image.php?w='.$imageWidth.'&amp;h='.$imageHeight.'&amp;ticker=' . rand(0, 1000000) . '" />'.
                '</div>'
            ;
        }
    ?>
</body>
</html>